import { Table, Column as Column1 } from 'sequelize-typescript';
import { Entity, Column, PrimaryGeneratedColumn, OneToMany } from 'typeorm';

@Entity({ name: 'nest_tbl' })
export class nest {
  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  name: string;

  @Column()
  age: string;

  @Column()
  sex: number;

  @Column()
  like: string;

  @Column({ name: 'is_student' })
  isStudent: boolean;
}
